package com.platform.gateway.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;
import java.util.Map;

/**
 * 过滤器配置类
 * @author zhangt2333
 **/

@ConfigurationProperties(prefix = "cloud.filter")
@Getter
@Setter
public class FilterProperties {

    private List<String> allowPaths;

    private Map<String, Integer> globalLimitPaths;

    private Map<String, Integer> userLimitPaths;

}
